package io.renren.modules.project.service.impl;

import io.renren.modules.project.dao.PojectTaskRejectDao;
import io.renren.modules.project.entity.PojectTaskRejectEntity;
import io.renren.modules.project.service.PojectTaskRejectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("pojectTaskRejectService")
public class PojectTaskRejectServiceImpl implements PojectTaskRejectService {
	@Autowired
	private PojectTaskRejectDao pojectTaskRejectDao;
	
	@Override
	public PojectTaskRejectEntity queryObject(Long id){
		return pojectTaskRejectDao.queryObject(id);
	}
	
	@Override
	public List<PojectTaskRejectEntity> queryList(Map<String, Object> map){
		return pojectTaskRejectDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return pojectTaskRejectDao.queryTotal(map);
	}
	
	@Override
	public void save(PojectTaskRejectEntity pojectTaskReject){
		pojectTaskRejectDao.save(pojectTaskReject);
	}
	
	@Override
	public void update(PojectTaskRejectEntity pojectTaskReject){
		pojectTaskRejectDao.update(pojectTaskReject);
	}
	
	@Override
	public void delete(Long id){
		pojectTaskRejectDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		pojectTaskRejectDao.deleteBatch(ids);
	}
	
}
